package org.lyq.erp.auth.menu.pojo;

import java.io.Serializable;
import java.util.List;
import org.lyq.erp.auth.role.pojo.Role;
import org.lyq.erp.config.exception.errorbasics.ErrorMessageBasics;

public class Menu extends ErrorMessageBasics implements Serializable {

	private static final long serialVersionUID = 1L;

	private Integer menuUuid;

	private Integer menuUuidInsert;

	private String menuName;

	private String menuUrl;

	private Long createtime;

	private Long updatetime;

	private Integer status;

	private Long menuPuuid;

	private String menuClasstype;

	public List<Menu> mpList;

	public Menu Pmenu;

	private Integer[] roleUuids;

	public List<Role> RoleList;

	public Integer getStatus() {
		return this.status;
	}

	public Integer[] getRoleUuids() {
		return this.roleUuids;
	}

	public void setRoleUuids(Integer[] roleUuids) {
		this.roleUuids = roleUuids;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getMenuUuidInsert() {
		return this.menuUuidInsert;
	}

	public void setMenuUuidInsert(Integer menuUuidInsert) {
		this.menuUuidInsert = menuUuidInsert;
	}

	public List<Role> getRoleList() {
		return this.RoleList;
	}

	public void setRoleList(List<Role> roleList) {
		this.RoleList = roleList;
	}

	public Menu getPmenu() {
		return this.Pmenu;
	}

	public void setPmenu(Menu pmenu) {
		this.Pmenu = pmenu;
	}

	public List<Menu> getMpList() {
		return this.mpList;
	}

	public void setMpList(List<Menu> mpList) {
		this.mpList = mpList;
	}

	public Integer getMenuUuid() {
		return this.menuUuid;
	}

	public void setMenuUuid(Integer menuUuid) {
		if (menuUuid != null) {
			this.menuUuidInsert = menuUuid;
		}
		this.menuUuid = menuUuid;
	}

	public String getMenuName() {
		return this.menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = (menuName == null) ? null : menuName.trim();
	}

	public String getMenuUrl() {
		return this.menuUrl;
	}

	public void setMenuUrl(String menuUrl) {
		this.menuUrl = (menuUrl == null) ? null : menuUrl.trim();
	}

	public Long getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Long createtime) {
		this.createtime = createtime;
	}

	public Long getUpdatetime() {
		return this.updatetime;
	}

	public void setUpdatetime(Long updatetime) {
		this.updatetime = updatetime;
	}

	public Long getMenuPuuid() {
		return this.menuPuuid;
	}

	public void setMenuPuuid(Long menuPuuid) {
		this.menuPuuid = menuPuuid;
	}

	public String getMenuClasstype() {
		return this.menuClasstype;
	}

	public void setMenuClasstype(String menuClasstype) {
		this.menuClasstype = (menuClasstype == null) ? null : menuClasstype.trim();
	}
}
